<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class=""><a href="{:url('omg/downList')}">新下户列表</a></li>
			<li class="active"><a href="{:url('omg/downEdit')}">更改信息</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('omg/downEditSave')}">
			<div class="form-group">
				<label for="input-department" class="col-sm-2 control-label"><span class="form-required">*</span>部门</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-department" name="department" value="{$one_down.department}">
				</div>
			</div>
                        <div class="form-group">
                                <label for="input-master" class="col-sm-2 control-label"><span class="form-required">*</span>站长</label>
                                <div class="col-md-6 col-sm-10">
                                        <input type="text" class="form-control" id="input-master" name="master" value="{$one_down.master}">
                                </div>
                        </div>
                        <div class="form-group">
                                <label for="input-second_master" class="col-sm-2 control-label"><span class="form-required">*</span>二级站长</label>
                                <div class="col-md-6 col-sm-10">
                                        <input type="text" class="form-control" id="input-second_master" name="second_master" value="{$one_down.second_master}">
                                </div>
                        </div>
			<div class="form-group">
				<label for="input-account" class="col-sm-2 control-label"><span class="form-required">*</span>账号</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-account" name="account" value="{$one_down.account}">
				</div>
			</div>
			<div class="form-group">
				<label for="input-domain" class="col-sm-2 control-label"><span class="form-required">*</span>域名</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-domain" name="domain" value="{$one_down.domain}">
				</div>
			</div>
			<div class="form-group">
				<label for="input-main" class="col-sm-2 control-label"><span class="form-required">*</span>公司名称</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-main" name="main" value="{$one_down.main}">
				</div>
			</div>
			<div class="form-group">
				<label for="input-agent" class="col-sm-2 control-label"><span class="form-required">*</span>代理</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-agent" name="agent" value="{$one_down.agent}">
				</div>
			</div>
			<div class="form-group">
				<label for="input-bm_id" class="col-sm-2 control-label"><span class="form-required">*</span>BM ID</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-bm_id" name="bm_id" value="{$one_down.bm_id}">
				</div>
			</div>
			<div class="form-group">
				<label for="input-is_ok" class="col-sm-2 control-label"><span class="form-required">*</span>是否可用</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-is_ok" name="is_ok" value="{$one_down.is_ok}">
				</div>
			</div>
			<div class="form-group">
				<label for="input-no_reason" class="col-sm-2 control-label"><span class="form-required">*</span>不可用原因</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-no_reason" name="no_reason" value="{$one_down.no_reason}">
				</div>
			</div>
			<div class="form-group">
				<label for="input-is_quota" class="col-sm-2 control-label"><span class="form-required">*</span>是否限额</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-is_quota" name="is_quota" value="{$one_down.is_quota}">
				</div>
			</div>
			<div class="form-group">
				<label for="input-acc_source" class="col-sm-2 control-label"><span class="form-required">*</span>户来源</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-acc_source" name="acc_source" value="{$one_down.acc_source}">
				</div>
			</div>

			<div class="form-group">
				<label for="input-comment" class="col-sm-2 control-label"><span class="form-required">*</span>备注</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-comment" name="comment" value="{$one_down.comment}">
				</div>
			</div>
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
				<a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
			</div>
			<input type="hidden" class="form-control" id="input-id" name="id" value="{$one_down.id}">
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>
